package com.uyayo.oms.cms.vo;

import com.uyayo.cms.entity.CmsArticleCategory;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class CmsArticleCategoryVO extends CmsArticleCategory implements Serializable {

    private static final long serialVersionUID = 6676650309632049024L;
    @NotNull(message = "{loginname.null}")
    @Size(min = 5, max = 36, message = "{loginname.size.error}")
    private String username;


}